<div class="row-fluid">
<div class="span12">
	<p>
		<button class="btn btn-primary" dy-add="{url:'dashboard/uploadGame',title:'上传游戏'}">上传游戏前端</button>
		<button class="btn btn-warning" layer-confirm="{url:'dashboard/deployGame',title:'部署游戏前端'}">部署游戏前端</button>
		<button class="btn btn-danger" layer-confirm="{url:'dashboard/closeGame',title:'关闭服务器'}">关闭服务器</button>
	</p>
</div>
</div>
<div class="row-fluid">
    <div class="span6">
        <!-- block -->
        <div class="block">
            <div class="navbar navbar-inner block-header">
                <div class="muted pull-left">用户</div>
                <div class="pull-right"><span class="badge badge-info">{{formData.userCount}}</span>
                </div>
            </div>
            <div class="block-content collapse in">
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th >ID</th>
                            <th >昵称</th>
                            <th >角色</th>
                            <th >头像ID</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="item in formData.users">
                            <td ng-bind="item.id"></td>
                            <td ng-bind="item.nick_name"></td>
                            <td ng-bind="item.role==1?'机器人':'玩家'"></td>
                            <td ng-bind="item.icon"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /block -->
    </div>
    <div class="span6">
        <!-- block -->
        <div class="block">
            <div class="navbar navbar-inner block-header">
                <div class="muted pull-left">用户游戏信息</div>
            </div>
            <div class="block-content collapse in">
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th>用户</th>
                            <th>金币</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="item in formData.gameInfos">
                            <td ng-bind="item.nick_name"></td>
                            <td ng-bind="item.coin"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /block -->
    </div>
</div>
                    